using UnityEngine;
using UnityEngine.UI;

public class UIB_InputFieldLegacy_Script : MonoBehaviour
{
    private InputField inputField;
    
    void Awake()
    {
        inputField = GetComponent<InputField>();
    }

    private void Start()
    {
        inputField.onEndEdit.AddListener(OnInputFieldEndEdit);
    }

    private void OnInputFieldEndEdit(string content)
    {
        Debug.Log("输入完成，密码为：" + content);
    }
}